package com.thb.pay.service;

import com.thb.pay.core.utils.PageResult;
import com.thb.pay.db.service.IBaseService;
import com.thb.pay.entity.BankCardBin;
import com.thb.pay.vo.req.BankCardBinPageReq;
import com.thb.pay.vo.req.BankCardBinReq;
import com.thb.pay.vo.resp.BankCardBinVo;

import java.util.List;

/**
 * <p>
 * 银行卡Bin-信息表 服务类
 * </p>
 *
 * @author lucky
 * @since 2019-07-21
 */
public interface BankCardBinService extends IBaseService<BankCardBin> {

    PageResult<BankCardBinVo> findPage(BankCardBinPageReq pageReq);

    void add(BankCardBinReq bankCardBinReq);

    void addBatch(List<BankCardBinReq> bankCardBinReqList);

    void update(BankCardBinReq bankCardBinReq);

    BankCardBinVo getById(Long id);

    void deleteById(Long id);

    void deleteBatchIds(List<Long> ids);

}
